package com.chilli.cosima.common.page;

import java.util.List;

/**
 * 分页实体类，记录页面信息 <功能详细描述>
 * 
 * @author TianPeng
 * @version [版本号, 2010-8-2]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class PagerBean
{
	private Integer currentPage = Integer.valueOf(1);

	private Integer total = Integer.valueOf(1);

	private Integer previousPage = Integer.valueOf(1);

	private Integer nextPage = Integer.valueOf(1);

	private Integer count = Integer.valueOf(10);

	private Integer firstPage = Integer.valueOf(1);

	private Integer lastPage = Integer.valueOf(1);

	@SuppressWarnings("unchecked")
	private List valueList = null;

	private String action;

	private String form;

	public String getForm()
	{
		return form;
	}

	public void setForm(String form)
	{
		this.form = form;
	}

	public String getAction()
	{
		return action;
	}

	public void setAction(String action)
	{
		this.action = action;
	}

	public Integer getFirstPage()
	{
		return firstPage;
	}

	public void setFirstPage(Integer firstPage)
	{
		this.firstPage = firstPage;
	}

	public Integer getLastPage()
	{
		return lastPage;
	}

	public void setLastPage(Integer lastPage)
	{
		this.lastPage = lastPage;
	}

	public Integer getCount()
	{
		return count;
	}

	public void setCount(Integer count)
	{
		this.count = count;
	}

	public Integer getCurrentPage()
	{
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage)
	{
		this.currentPage = currentPage;
	}

	public Integer getNextPage()
	{
		return nextPage;
	}

	public void setNextPage(Integer nextPage)
	{
		this.nextPage = nextPage;
	}

	public Integer getPreviousPage()
	{
		return previousPage;
	}

	public void setPreviousPage(Integer previousPage)
	{
		this.previousPage = previousPage;
	}

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}

	@SuppressWarnings("unchecked")
	public List getValueList()
	{
		return valueList;
	}

	@SuppressWarnings("unchecked")
	public void setValueList(List valueList)
	{
		this.valueList = valueList;
	}
}